Fills the structure with the current time. Time is measured from
Jan 1, 1978.
INPUTS
date
The structure to fill.
RESULT
date->ds_Days is filled with the days from Jan 1, 1978.
date->ds_Minute is filled with the number of minutes elapsed in the
day. date->ds_Tick is the number of ticks elapsed in the current
minute. A tick happens 50 times a second. DateStamp() ensures that
the day and minute are consistent. All three elements are zero if
the date is unset.
NOTES
The original function could DateStamp() only returns even multiples
of 50 ticks.